﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using VISS.API.Users;

namespace NCT.Web.Frontend.Modules.User.Profile {
    public partial class ImageBoxControl : System.Web.UI.UserControl {

        public UserImageEnt SelectedImage;
        public bool IsPersonal = false;
        public string UserKey;
        public int PageNum;
        public long NextImageID;

        protected string NextLink = string.Empty;

        protected void Page_Load(object sender, EventArgs e) {
            if (!IsPersonal && PageNum != -1) {
                NextLink = "album?u=" + UserKey;
                if (NextImageID != -1) {
                    NextLink += "&k=" + NextImageID;
                }
                NextLink += "&p=" + PageNum;
            }
        }
    }
}
